package com.hjdb88.simplemvc.service.impl;

import com.hjdb88.simplemvc.annotation.Qualifier;
import com.hjdb88.simplemvc.annotation.Service;
import com.hjdb88.simplemvc.dao.TestDao;
import com.hjdb88.simplemvc.service.TestService;

/**
 * @author hjdb88
 * @date 2020/10/17
 */
@Service("testService")
public class TestServiceImpl implements TestService {
    @Qualifier("testDao")
    private TestDao testDao;

    @Override
    public String test() {
        System.out.println("执行TestServiceImpl.test()");
        return testDao.test();
    }
}
